package com.ll.menu.user.app.entity;

import java.io.Serializable;

/**
 * 表示桌子或者包间
 *
 * @author wangheng
 */

public class Table implements Serializable {
    private static final long serialVersionUID = 9108430913166301444L;

    private static final int TYPE_ROOM = 1;

    private int type;
    private String id;
    private String name;

    public boolean isRoom(){
        return type == TYPE_ROOM;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
